﻿app.service("systrayService", ["$rootScope", function ($rootScope) {
    this.enable = function () {
        $rootScope.$broadcast("systray.enabled", true);
    };
    this.disable = function () {
        $rootScope.$broadcast("systray.enabled", false);
    };
}]);